package com.ruoyi.mes.domain;

import java.math.BigDecimal;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 节能策略库对象 tb_new_energy_strategy
 * 
 * @author ruoyi
 * @date 2025-05-14
 */
public class NewEnergyStrategy extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long strategyId;

    /** 策略类型 */
    @Excel(name = "策略类型")
    private String strategyType;

    /** 关联设备/工艺/物料ID */
    @Excel(name = "关联设备/工艺/物料ID")
    private Long relatedId;

    /** 实施方案 */
    @Excel(name = "实施方案")
    private String strategyContent;

    /** 实测节能量 */
    @Excel(name = "实测节能量")
    private BigDecimal savedEnergy;

    public void setStrategyId(Long strategyId) 
    {
        this.strategyId = strategyId;
    }

    public Long getStrategyId() 
    {
        return strategyId;
    }
    public void setStrategyType(String strategyType) 
    {
        this.strategyType = strategyType;
    }

    public String getStrategyType() 
    {
        return strategyType;
    }
    public void setRelatedId(Long relatedId) 
    {
        this.relatedId = relatedId;
    }

    public Long getRelatedId() 
    {
        return relatedId;
    }
    public void setStrategyContent(String strategyContent) 
    {
        this.strategyContent = strategyContent;
    }

    public String getStrategyContent() 
    {
        return strategyContent;
    }
    public void setSavedEnergy(BigDecimal savedEnergy) 
    {
        this.savedEnergy = savedEnergy;
    }

    public BigDecimal getSavedEnergy() 
    {
        return savedEnergy;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("strategyId", getStrategyId())
            .append("strategyType", getStrategyType())
            .append("relatedId", getRelatedId())
            .append("strategyContent", getStrategyContent())
            .append("savedEnergy", getSavedEnergy())
            .toString();
    }
}
